class RoleEntity {
  //组织角色id
  String orgRoleId;
  //角色名称
  String roleName;
  //角色ID
  String roleId;
  //是否负责人
  String isLeader;

  RoleEntity({this.orgRoleId, this.roleName, this.roleId, this.isLeader});

  RoleEntity.fromJson(Map<String, dynamic> json) {
    orgRoleId = json['orgRoleId'];
    roleName = json['roleName'];
    roleId = json['roleId'];
    isLeader = json['isLeader'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['orgRoleId'] = this.orgRoleId;
    data['roleName'] = this.roleName;
    data['roleId'] = this.roleId;
    data['isLeader'] = this.isLeader;
    return data;
  }
}
